package com.produce.system.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class SysMenu implements Serializable {
	private static final long serialVersionUID = -6361236463573663727L;
	/** 菜单id */
	private String umresourceid;
	/** 菜单名称 */
	private String umresourcename;
	/** 菜单路径 */
	private String umresourceurl;
	/** 菜单图标 */
	private String umresourceicon;
	/** 父级菜单ID */
	private String umresourceparentid;
	/** 是否可用 **/
	private String useable;
	/** 备注 **/
	private String remark;
	/** 排序 */
	private Integer sortnum;
	/** 父级菜单 */
	private SysMenu parentMenu;
	/** 记录下级菜单的数量 */
	private Integer childnum;
	/** 子菜单集合 */
	private List<SysMenu> children = new ArrayList<SysMenu>();
	public String getUmresourceid() {
		return umresourceid;
	}
	public void setUmresourceid(String umresourceid) {
		this.umresourceid = umresourceid;
	}
	public String getUmresourcename() {
		return umresourcename;
	}
	public void setUmresourcename(String umresourcename) {
		this.umresourcename = umresourcename;
	}
	public String getUmresourceurl() {
		return umresourceurl;
	}
	public void setUmresourceurl(String umresourceurl) {
		this.umresourceurl = umresourceurl;
	}
	public String getUmresourceicon() {
		return umresourceicon;
	}
	public void setUmresourceicon(String umresourceicon) {
		this.umresourceicon = umresourceicon;
	}
	public String getUmresourceparentid() {
		return umresourceparentid;
	}
	public void setUmresourceparentid(String umresourceparentid) {
		this.umresourceparentid = umresourceparentid;
	}
	public String getUseable() {
		return useable;
	}
	public void setUseable(String useable) {
		this.useable = useable;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getSortnum() {
		return sortnum;
	}
	public void setSortnum(Integer sortnum) {
		this.sortnum = sortnum;
	}
	public SysMenu getParentMenu() {
		return parentMenu;
	}
	public void setParentMenu(SysMenu parentMenu) {
		this.parentMenu = parentMenu;
	}
	public Integer getChildnum() {
		return childnum;
	}
	public void setChildnum(Integer childnum) {
		this.childnum = childnum;
	}
	public List<SysMenu> getChildren() {
		return children;
	}
	public void setChildren(List<SysMenu> children) {
		this.children = children;
	}
}
